﻿using System.Collections.Generic;
using AgileConfig.Server.Data.Entity;

namespace AgileConfig.Server.Apisite.Controllers.api.Models;

public class ApiServiceInfoVM
{
    public string ServiceId { get; set; } = "";

    public string ServiceName { get; set; } = "";

    public string Ip { get; set; } = "";

    public int? Port { get; set; }

    public List<string> MetaData { get; set; } = new();

    public ServiceStatus Status { get; set; }
}

public class QueryServiceInfoResultVM
{
    public List<ApiServiceInfoVM> Data { get; set; }
}